<?php

namespace app\validate\admin;

use think\Validate;

class RoleValidate extends Validate
{
    public $rule = [
        'name' => 'require',
        'description' => 'require',
    ];

    public $message = [
        'name.require' => '角色名称不能为空',
        'description.require' => '角色描述不能为空',
    ];
}